class Demo:
    def __init__(self, day_salary):
        self.day_salary = day_salary

    @property
    def month_salary(self):
        return 30 * self.day_salary


if __name__ == '__main__':
    d = Demo(500)
    print(d.month_salary)
